package com.lin.cms.service;

import java.util.List;

import com.lin.cms.criteria.FileCriteria;
import com.lin.cms.domain.File;

public interface FileService{
	
	File selectByPrimaryKey(String filePath);
	
	List<File> selectByCriteria(FileCriteria criteria);
	
	int deleteByPrimaryKey(String filePath);
	
	int deleteByCriteria(FileCriteria criteria);
	
	int insert(File file);
	
	int updateByPrimaryKeySelective(File file);
	
	int updateByPrimaryKey(File file);
	
	List<File> selectByPage(FileCriteria criteria);
	
	int countByCriteria(FileCriteria criteria);
	
	public void saveFileByPath(String filepath,String name,Boolean valid);
	
}
